package iedcyt.acute.controller.listeners.configuration;

import iedcyt.acute.model.ConfigurationModel;
import iedcyt.acute.view.ConfigurationView;
import iedcyt.acute.view.ViewUtils;

import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Listener;

public class CloseListener implements Listener {

	private ConfigurationView _view;
	private ConfigurationModel _model;
	
	public CloseListener(ConfigurationView view, ConfigurationModel model) {
		this._model = model;
		this._view = view;
	}	
	
	@Override
	public void handleEvent(Event arg0) {
		_view.closeWindow();
		
	}

}
